Add connection-local variable `tramp-direct-async-process'
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 19 May 2024 12:13:03 +0000 (14:13 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 19 May 2024 12:13:03 +0000 (14:13 +0200)
commitc4cc905d6b01eb049b8d9400da2722d7f818d623
tree15571acbe32c975007da1f7d5702b4f8ad1acc78
parent92cd24f405ca15e453238cae4f2e1922667220f0
Add connection-local variable `tramp-direct-async-process'

* doc/misc/tramp.texi (Predefined connection information):
Remove "direct-async-process".
(Remote processes): Explain connection-local variable
tramp-direct-async-process.

* etc/NEWS: Add connection-local variable 'tramp-direct-async-process'.

* lisp/net/tramp-compat.el (tramp-compat-connection-local-p): Sync with
Emacs source.
(tramp-compat-connection-local-value): New defalias.

* lisp/net/tramp-message.el (tramp-warning): New defsubst.

* lisp/net/tramp.el (tramp-direct-async-process): New defvar.
(tramp-direct-async-process-p): Use connection-local variable for
check.  (Bug#70959)

* test/lisp/net/tramp-tests.el
(tramp--test-deftest-direct-async-process):
Use connection-local-variable `tramp-direct-async-process'.
doc/misc/tramp.texi
etc/NEWS
lisp/net/tramp-compat.el
lisp/net/tramp-message.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el